window.onload = function () {
    var divDom = document.getElementById("div");
    divDom.style.background = "red";
};
